package com.utooo.pojo.domain.invoice;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Author SJD
 * @Date: 2025−04-19 09:18
 * @Description: 供货方开票记录
 * @Copyright: 南京优通信息科技股份有限公司
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_wdpj_2025042214431951")
public class SupplierInvoiceDO extends BaseDO {

    /**
     * 工作流id
     */
    @TableField("f_flowid")
    private String flowId;

    /**
     * 发票号码
     */
    @TableField("comInputField101")
    private String invoiceNumber;

    /**
     * 开票日期
     */
    @TableField("dateField102")
    private LocalDateTime invoiceDate;

    /**
     * 购买方
     */
    @TableField("selectField103")
    private String buyer;

    /**
     * 购买方纳税人识别号
     */
    @TableField("comInputField104")
    private String buyerTaxId;

    /**
     * 销售方
     */
    @TableField("comInputField105")
    private String seller;

    /**
     * 销售方纳税人识别号
     */
    @TableField("comInputField107")
    private String sellerTaxId;

    /**
     * 不含税金额
     */
    @TableField("numInputField108")
    private BigDecimal amountExcludingTax;

    /**
     * 税额
     */
    @TableField("numInputField109")
    private BigDecimal taxAmount;

    /**
     * 价税合计
     */
    @TableField("numInputField110")
    private BigDecimal totalAmount;

    /**
     * 发票上传
     */
    @TableField("uploadFzField111")
    private String invoiceUpload;

    /**
     * 发票代码
     */
    @TableField("comInputField112")
    private String invoiceCode;

    /**
     * 开票抬头
     */
    @TableField("comInputField113")
    private String invoiceTitle;

    /**
     * 购买方地址、电话
     */
    @TableField("comInputField114")
    private String buyerAddressPhone;

    /**
     * 购买方开户行及账号
     */
    @TableField("comInputField115")
    private String buyerBankAccount;

    /**
     * 销售方地址、电话
     */
    @TableField("comInputField116")
    private String sellerAddressPhone;

    /**
     * 销售方开户行及账号
     */
    @TableField("comInputField117")
    private String sellerBankAccount;
}
